package com.teaboot.springbootsample.dao;

import com.teaboot.springbootsample.domain.Product;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ProductDao {

	int deleteByPrimaryKey(Integer id);

	int insert(Product record);

	Product selectByPrimaryKey(Integer id);

	int updateByPrimaryKey(Product record);

	List<Product> search();

}